package com.feng.common.constants;

import java.time.LocalTime;
import java.time.ZoneId;
import java.time.format.DateTimeFormatter;

public interface Constants {
    ZoneId UTC8 = ZoneId.of("+8");
    DateTimeFormatter FORMATTER_YYYY_MM_DD_HH_MM_SS = DateTimeFormatter.ofPattern("yyyy-MM-dd HH:mm:ss").withZone(UTC8);
    DateTimeFormatter FORMATTER_YY_MM_DD = DateTimeFormatter.ofPattern("yy-MM-dd").withZone(UTC8);
    DateTimeFormatter FORMATTER_YYYY_MM_DD = DateTimeFormatter.ofPattern("yyyy-MM-dd").withZone(UTC8);
    DateTimeFormatter FORMATTER_HH_MM_SS = DateTimeFormatter.ofPattern("HH:mm:ss").withZone(UTC8);
    LocalTime MAX = LocalTime.of(23, 59, 59, 999_999_000);
}
